From f37e7753589b44dffe0aaf3f5d10e56f6cc091b3 Mon Sep 17 00:00:00 2001 From: gavrielc Date: Fri, 24 Apr 2026 16:30:14 +0300 Subject: [PATCH] Revert src changes; skill applies them at install time Phase 2 of the SKILL.md already contains the Dockerfile + TOOL_ALLOWLIST edit instructions with an "ALREADY APPLIED" short-circuit. Keeping those edits out of trunk means users who never run /add-gmail-tool don't carry the Gmail MCP package in their image. Co-Authored-By: Claude Opus 4.7 (1M context) --- container/Dockerfile | 6 ------ container/agent-runner/src/providers/claude.ts | 1 - 2 files changed, 7 deletions(-) diff --git a/container/Dockerfile b/container/Dockerfile index 8c296ea..4b4cf22 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -23,7 +23,6 @@ ARG CLAUDE_CODE_VERSION=2.1.116 ARG AGENT_BROWSER_VERSION=latest ARG VERCEL_VERSION=latest ARG BUN_VERSION=1.3.12 -ARG GMAIL_MCP_VERSION=1.1.11 # ---- System dependencies ----------------------------------------------------- # tini: correct PID 1 / signal forwarding so outbound.db writes finalize on @@ -105,11 +104,6 @@ RUN --mount=type=cache,target=/root/.cache/pnpm \ RUN --mount=type=cache,target=/root/.cache/pnpm \ pnpm install -g "@anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}" -RUN --mount=type=cache,target=/root/.cache/pnpm \ - pnpm install -g \ - "@gongrzhe/server-gmail-autoauth-mcp@${GMAIL_MCP_VERSION}" \ - "zod-to-json-schema@3.22.5" - # ---- Entrypoint -------------------------------------------------------------- COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh diff --git a/container/agent-runner/src/providers/claude.ts b/container/agent-runner/src/providers/claude.ts index 0ba0919..fbb077c 100644 --- a/container/agent-runner/src/providers/claude.ts +++ b/container/agent-runner/src/providers/claude.ts @@ -55,7 +55,6 @@ const TOOL_ALLOWLIST = [ 'Skill', 'NotebookEdit', 'mcp__nanoclaw__*', - 'mcp__gmail__*', ]; interface SDKUserMessage {