diff --git a/docker-images/Dockerfile.agent b/docker-images/Dockerfile.agent index 414cae2..d14c8ea 100644 --- a/docker-images/Dockerfile.agent +++ b/docker-images/Dockerfile.agent @@ -4,7 +4,7 @@ FROM python:3.12-slim # Added pkg-config and libssl-dev (Essential for Rust compilation) RUN apt-get update && apt-get install -y \ git curl build-essential unzip sudo \ - ffmpeg jq zsh pkg-config libssl-dev tmux \ + ffmpeg jq zsh pkg-config libssl-dev \ default-jdk-headless just \ && rm -rf /var/lib/apt/lists/* @@ -12,12 +12,11 @@ RUN apt-get update && apt-get install -y \ RUN git config --global credential.helper store # 2. Install Starship & Aliases +COPY starship.toml /root/.config/starship.toml RUN curl -sS https://starship.rs/install.sh | sh -s -- -y RUN echo 'eval "$(starship init zsh)"' >> /root/.zshrc + RUN echo 'alias ll="ls -al"' >> /root/.zshrc -# Shortcuts for new tools -RUN echo 'alias c="cargo"' >> /root/.zshrc -RUN echo 'alias g="go"' >> /root/.zshrc # 3. Install 'uv' (Python) COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv diff --git a/opencode.cfg/opencode.jsonc b/opencode.cfg/opencode.jsonc index e2e4efc..593e570 100644 --- a/opencode.cfg/opencode.jsonc +++ b/opencode.cfg/opencode.jsonc @@ -118,5 +118,15 @@ } } } + }, + "mcp": { + "digitxml-mcp": { + "type": "local", + "enabled": true, + "command": [ + "uv", + "/workspace/mcp/digitxml-mcp/mcp_server.py" + ] + } } } \ No newline at end of file diff --git a/zsh.add b/zsh.add index 08f53e3..39e9340 100644 --- a/zsh.add +++ b/zsh.add @@ -15,7 +15,6 @@ function agent() { --add-host=host.docker.internal:host-gateway \ -v "$TARGET_DIR:/workspace" \ -v "$HOME/dev/ai/opencode.cfg:/root/.config/opencode" \ - -v "$HOME/dev/ai/docker-images/starship.toml:/root/.config/starship.toml" \ -v opencode-cargo-cache:/root/.cargo \ -v opencode-go-cache:/root/go \ -v opencode-bun-cache:/root/.bun \