From 3f03d65e732b264798e3e81cf74c99c9478fe1bc Mon Sep 17 00:00:00 2001 From: didericis Date: Fri, 8 May 2026 11:39:30 -0400 Subject: [PATCH] chore: tidy gitignore, Dockerfile indent, unused import Co-Authored-By: Claude Opus 4.7 --- .gitignore | 11 +++++++++++ Dockerfile | 6 +++--- claude_bottle/cli.py | 1 - 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6f3c868..85391dd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,14 @@ Thumbs.db # mcp-server (TypeScript) mcp-server/node_modules/ mcp-server/dist/ + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.egg-info/ +.venv/ +venv/ +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ diff --git a/Dockerfile b/Dockerfile index 944a2fc..ea9cfec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,15 +21,15 @@ FROM node:22-slim # runs as root and rejects non-root connections, so socat sits between # node and the agent socket. RUN apt-get update \ - && apt-get install -y --no-install-recommends git ca-certificates openssh-client socat \ - && rm -rf /var/lib/apt/lists/* + && apt-get install -y --no-install-recommends git ca-certificates openssh-client socat \ + && rm -rf /var/lib/apt/lists/* # Install claude-code globally. Pinned to the version verified in the v1 # build (`claude --version` returns 2.1.126). Bump deliberately when # rolling forward; an unpinned install would mean rebuilds silently pick # up new behavior. RUN npm install -g --no-fund --no-audit @anthropic-ai/claude-code@2.1.126 \ - && npm cache clean --force + && npm cache clean --force # Run as a non-root user. The node image already provides a `node` user # (uid 1000) with a home directory, which is where claude-code will write diff --git a/claude_bottle/cli.py b/claude_bottle/cli.py index 1ed338b..276cefe 100644 --- a/claude_bottle/cli.py +++ b/claude_bottle/cli.py @@ -24,7 +24,6 @@ from . import ssh as ssh_mod from .env_resolve import env_resolve from .log import Die, die, info, warn from .manifest import ( - Manifest, manifest_agent_bottle, manifest_env_names, manifest_prompt,