chore: remove adapter Dockerfiles and requirements.txt from monorepo

These files have moved to the standalone template repos:
  https://github.com/Molecule-AI/molecule-ai-workspace-template-<runtime>

Each adapter repo now has its own Dockerfile (FROM python:3.11-slim + pip install
molecule-ai-workspace-runtime) and requirements.txt. The adapter Python source
files (.py) stay in the monorepo for local development and testing.

Adapters removed from workspace-template/adapters/*/: Dockerfile, requirements.txt
Adapters retained: adapter.py, __init__.py (+ hermes extras: escalation.py, executor.py, providers.py)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Hongming Wang 2026-04-16 04:33:22 -07:00
parent 03f6fc81dd
commit ab1562f3fe
16 changed files with 0 additions and 95 deletions

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
COPY adapters/autogen/requirements.txt /tmp/adapter-requirements.txt
RUN pip install --no-cache-dir -r /tmp/adapter-requirements.txt && rm /tmp/adapter-requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,2 +0,0 @@
autogen-agentchat>=0.4.0
autogen-ext[openai]>=0.4.0

View File

@ -1,8 +0,0 @@
FROM workspace-template:base
USER root
RUN npm install -g @anthropic-ai/claude-code 2>/dev/null || true
# Pre-install adapter Python deps (single source of truth: requirements.txt)
# so first-boot doesn't pay a pip install penalty. entrypoint.sh skips
# reinstall when the first listed package is already importable.
RUN pip install --no-cache-dir -r /app/adapters/claude_code/requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,4 +0,0 @@
# Claude Agent SDK — programmatic API to Claude Code engine.
# Replaces CLI subprocess approach (no more --print, --resume, json parsing).
# The Claude Code CLI is still pre-installed via npm because the SDK uses it under the hood.
claude-agent-sdk>=0.1.58

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
COPY adapters/crewai/requirements.txt /tmp/adapter-requirements.txt
RUN pip install --no-cache-dir -r /tmp/adapter-requirements.txt && rm /tmp/adapter-requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1 +0,0 @@
crewai>=0.100.0

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
COPY adapters/deepagents/requirements.txt /tmp/adapter-requirements.txt
RUN pip install --no-cache-dir -r /tmp/adapter-requirements.txt && rm /tmp/adapter-requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,4 +0,0 @@
deepagents>=0.5.0
langchain-openai>=1.0.0
langchain-google-genai>=2.1.0
langchain-anthropic>=1.4.0

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
RUN npm install -g @google/gemini-cli 2>/dev/null || true
# gemini-cli has no extra Python adapter deps — uses CLIAgentExecutor from base
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,2 +0,0 @@
# gemini-cli adapter has no extra Python dependencies.
# The CLIAgentExecutor (base) handles all subprocess management.

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
COPY adapters/hermes/requirements.txt /tmp/adapter-requirements.txt
RUN pip install --no-cache-dir -r /tmp/adapter-requirements.txt && rm /tmp/adapter-requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,24 +0,0 @@
# Hermes adapter dependencies.
#
# openai: primary client for the 13 OpenAI-compat providers in providers.py
# (Nous Portal, OpenRouter, OpenAI, xAI, Qwen, GLM, Kimi, MiniMax, DeepSeek,
# Groq, Together, Fireworks, Mistral — all reachable via one openai SDK
# pointed at different base URLs). Anthropic + Gemini now go native.
openai>=1.0.0
# anthropic: native Messages API client for the anthropic provider (auth_scheme
# = "anthropic" in providers.py). Phase 2a addition — gives correct tool calling,
# vision, and extended-thinking semantics that don't translate cleanly through
# the OpenAI-compat shim. If this package is missing at runtime, executor.py's
# _do_anthropic_native() raises a clear RuntimeError pointing back at this
# install line, so a workspace image built without it fails loud, not silent.
anthropic>=0.39.0
# google-genai: native generateContent API client for the gemini provider
# (auth_scheme = "gemini" in providers.py). Phase 2b addition — gives
# first-class vision content blocks, tool/function calling, system
# instructions, and thinking config that don't translate cleanly through
# the OpenAI-compat /v1beta/openai shim. Same fail-loud semantics as the
# anthropic path: missing at runtime → clear RuntimeError from
# _do_gemini_native(), not a silent fallback.
google-genai>=1.0.0

View File

@ -1,5 +0,0 @@
FROM workspace-template:base
USER root
COPY adapters/langgraph/requirements.txt /tmp/adapter-requirements.txt
RUN pip install --no-cache-dir -r /tmp/adapter-requirements.txt && rm /tmp/adapter-requirements.txt
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,12 +0,0 @@
# LangGraph ecosystem — upgrade as a matched set
langchain-core==1.2.26
langchain-anthropic==1.4.0
langchain-openai==1.1.12
langchain-google-genai>=2.1.0
langgraph==1.1.6
# Observability (optional — used if LANGFUSE_* env vars are set)
langfuse==4.0.6
# E2B sandbox (optional — used when config.sandbox.backend == "e2b")
e2b-code-interpreter==1.0.3

View File

@ -1,6 +0,0 @@
FROM workspace-template:base
USER root
RUN npm install -g openclaw 2>/dev/null || true && \
cd /usr/lib/node_modules/openclaw 2>/dev/null && \
npm install @buape/carbon @larksuiteoapi/node-sdk @slack/web-api grammy 2>/dev/null || true
# Do NOT set USER agent — entrypoint starts as root, chowns volumes, drops to agent via gosu

View File

@ -1,2 +0,0 @@
# OpenClaw is a Node.js CLI — installed via npm at startup, not pip
# The adapter only needs httpx for HTTP proxying (already in base image)