Refactor MCP server structure and add AI commit tool

- Restructure src/ into package src/crazy_mcp with modular tools
- Add jj.py and sandbox.py tool modules for jujutsu and sandbox management
- Remove circular dependency on crazy-mcp from pyproject.toml
- Fix async get_state call in PMOCrazyCoder.py increment tool
- Add bin/jj-ai-commit.sh for AI-generated commit messages from diffs
- Update entrypoint to copy all bin scripts and create config directory
This commit is contained in:
2026-02-21 22:29:33 +00:00
parent 9c914b989b
commit 2d53f89172
9 changed files with 373 additions and 4 deletions

View File

@@ -61,6 +61,9 @@ RUN groupadd --gid $USER_GID $USERNAME && \
COPY docker-entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
COPY bin/* /usr/local/bin/
RUN chmod +x /usr/local/bin/*
RUN mkdir -p /home/${USERNAME}/.config \
&& chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.config
COPY --chown=${USERNAME}:${USERNAME} opencode /home/${USERNAME}/.config/opencode