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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user